package oop.java0328.work3;

public class Parrot extends Pet {
    public Parrot() {
    }

    public Parrot(String name, String breed, float weight) {
        super(name, breed, weight);
    }

    public void fly() {
        System.out.println("我虽在笼子中，我却向往天空");
    }
}
